Total Complexity | 22 |
Dependencies | 3 |
Dependents | 1 |
Total lines | 216 |
Lines of code | 159 |
Logical lines of code | 58 |
Comment lines | 19 |
Methods | 8 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
applyConditions() | 35 | 7 | 113 | |
is_frontend_ajax() | 64 | 4 | 10 | |
is_frontend() | 68 | 3 | 9 | |
defineHooks() | 64 | 3 | 10 | |
instance() | 71 | 2 | 6 | |
run() | 83 | 1 | 3 | |
changeAddToCartButtonText() | 75 | 1 | 4 | |
replaceAddToCartButton() | 75 | 1 | 4 |